//
//  ExtractAstNode.h
//  WebClipper
//
//  Created by Daniel Braun on 10/06/07.
//  Copyright 2007 __MyCompanyName__. All rights reserved.
//

#import <Cocoa/Cocoa.h>

#import "DBParserAstNode.h"


#define TOK_ID		1
#define TOK_NUM		2
#define TOK_ADDOP	3
#define TOK_MULTOP	4
#define TOK_EQ		5

@interface ExtractAstNode : DBParserAstNode {

}

- (id) evaluateWithDictionary:(NSDictionary *) d;
+ (id) astNodeWithToken:(DBLexerTokenMatch *) t;

@end

@interface NumExtractAstNode : ExtractAstNode {
}
@end
@interface IdExtractAstNode : ExtractAstNode {
}
@end
@interface OpExtractAstNode : ExtractAstNode {
}
@end